package model

import "gorm.io/gorm"

type Text struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50);comment:标题"`
	Content string `gorm:"type:varchar(255);comment:描述"`
	Author  string `gorm:"typer:varchar(50);comment:作者"`
}
type TextLike struct {
	gorm.Model
	Tid int `gorm:"type:int"`
	Uid int `gorm:"type:int"`
}
